package com.godfrey.mapper;

import com.godfrey.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * description : 持久层接口
 *
 * @author godfrey
 * @since 2020-05-18
 */
public interface UserMapper {
    //根据id查询用户
    User getUserById(int id);

    //分页
    List<User> getUserByLimit(Map<String, Integer> map);

    //分页2
    List<User> getUserByRowBounds();
}